package com.wanmait.wanmarecruit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
* Created by Mybatis Generator 2022/09/19
*/
@Data
@TableName(value = "honors_won")
public class HonorsWon implements Serializable {
    /**
     * 所获荣誉id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Integer userId;
    @TableField(exist = false)
    private User user;

    /**
     * 荣誉信息
     */
    @TableField(value = "honors_won_info")
    private String honorsWonInfo;

    @TableField(value = "enable")
    private Boolean enable;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    private static final long serialVersionUID = 1L;

    public static final String COL_USER_ID = "user_id";

    public static final String COL_HONORS_WON_INFO = "honors_won_info";

    public static final String COL_ENABLE = "enable";

    public static final String COL_SORT = "sort";
}